﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repositories.VM
{
    /// <summary>
    /// 关联用户信息
    /// </summary>
    public class SelectedUserVM
    {
        /// <summary>
        /// 选中的功能id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 用户类型 0 其它 1 老师 2 学生
        /// </summary>
        public int Type { get; set; }
    }

    /// <summary>
    /// 角色详情模型
    /// </summary>
    public class RoleDetailVM : RoleVM
    {
        /// <summary>
        /// 选中的功能id
        /// </summary>
        public List<int> SelectedFeatureIds { get; set; }
        /// <summary>
        /// 选中的实验室Id列表
        /// </summary>
        public List<int> SelectedSiteIds { get; set; }
        /// <summary>
        /// 授权用户Id列表
        /// </summary>
        public List<SelectedUserVM> SelectedUserIds { get; set; }
    }
}
